/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.qdu.entity;

import java.util.Date;

/**
 * 日志实体类，用于存储日志所有信息
 * @author Lenovo
 */
public class Journal {
    private String Jid;
    private int id;
    private String title;
    private String content;
    private Date pubtime;
    private int likenum;
  
    
    public Journal() {
    }
    
    public Journal(String Jid,String title,String content,Date pubtime) {
        this.Jid=Jid;
        this.title=title;
        this.content=content;
        this.pubtime=pubtime;
    }
    
    public Journal(String Jid,String title,String content) {
        this.Jid=Jid;
        this.title=title;
        this.content=content;       
    }
    
    public Journal(String Jid,int id,String title,String content,Date pubtime) {
        this.Jid=Jid;
        this.id=id;
        this.title=title;
        this.content=content;
        this.pubtime=pubtime;
    }
    
    public Journal(String Jid,int id,String title,String content,Date pubtime,int likenum) {
        this.Jid=Jid;
        this.id=id;
        this.title=title;
        this.content=content;
        this.pubtime=pubtime;
        this.likenum=likenum;
    }
    
    public Journal(String Jid,int id,String title,Date pubtime) {
        this.Jid=Jid;
        this.id=id;
        this.title=title;
        this.pubtime=pubtime;
    }
    
    public Journal(String Jid,int id,String title,String content) {
        this.Jid=Jid;
        this.id=id;
        this.title=title;
        this.content=content;
    }

    public String getJid() {
        return Jid;
    }

    public void setJid(String Jid) {
        this.Jid = Jid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getPubtime() {
        return pubtime;
    }

    public void setPubtime(Date pubtime) {
        this.pubtime = pubtime;
    }

    public int getLikenum() {
        return likenum;
    }

    public void setLikenum(int likenum) {
        this.likenum = likenum;
    }

}
